package com.taotao.delayjob.core.service;


import com.taotao.common.model.Pagination;
import com.taotao.delayjob.core.model.RetryInst;
import com.taotao.delayjob.core.model.RetryInstPageData;
import com.taotao.delayjob.core.model.RetryInstPageParam;

/**
 * <p>
 * 任务重试实例服务接口
 * </p>
 *
 * @author Fan Beibei
 * @version V1.0
 * @since 2024-07-17 10:22:26
 */
public interface RetryInstService  {


    RetryInst getById(Long id);

    /**
     * 分页查询
     *
     * @param param
     * @param pageNum
     * @param pageSize
     * @return
     */
    Pagination<RetryInstPageData> queryPage(RetryInstPageParam param, int pageNum, int pageSize);
}
